﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace NGen.Tools {
	public static class TransformMatrix {
		public static Matrix CreateDefault() {
		
			Matrix returnVal = Matrix.CreateTranslation(
				new Vector3(
				-GameEngine.GraphicsDevice.Viewport.Width * 0.5f,
				-GameEngine.GraphicsDevice.Viewport.Height * 0.5f,
				0)) *
			Matrix.CreateRotationZ(0) *
			Matrix.CreateScale(new Vector3(1, 1, 1)) *
			Matrix.CreateTranslation(
				new Vector3(
				GameEngine.GraphicsDevice.Viewport.Width * 0.5f,
				GameEngine.GraphicsDevice.Viewport.Height * 0.5f,
				0));

			return returnVal;
		}
	}
}
